package com.alvin.springboot.mapper;

import com.alvin.springboot.model.User;

import java.util.List;

/**
 * @Author: Alvin
 * @Project_name: SpringbootTest
 * @Type_name: ${TYPE_NAME}
 */
public interface UserMapper {
    void save(User user);
    void update(User user);
    void delete(String username);
    User findById(String username);
    List<User> findAll();
}
